package com.hyk.learning.remoting.transport;

import com.hyk.learning.common.extension.SPI;
import com.hyk.learning.dto.RpcRequest;

/**
 * @className: RpcServiceProperties
 * @author: hyk199710
 * @description: TODO
 * @date: 2024/4/29 22:29
 */
@SPI
public interface RpcRequestTransport {
    /**
     * @param rpcRequest:
     * @return Object
     * @author 10091
     * @description send rpc request to server and get result
     * @date 2024/4/29 22:30
     */
    Object sendRpcRequest(RpcRequest rpcRequest);
}
